<?php

use Illuminate\Database\Seeder;

class DatabaseSeeder extends Seeder
{
    /**
     * Seed the application's database.
     *
     * @return void
     */
    public function run()
    {
        $seeders = [
            MenuSeeder::class,
            ConfigSeeder::class,
            UserSeeder::class,
            GroupSeeder::class,
        ];
        if (env('APP_ENV') != 'production') {
            $seeders[] = TestSeeder::class;
        }
        $this->call($seeders, false);
    }
}
